Yes, Google crawls dynamic content created using javascript. It can recognize the DOM after loading, including modifications to the title tag. It can also follow links created with the onclick event handler.
Read about it here:
http://searchengineland.com/tested-googlebot-crawls-javascript-heres-learned-220157
It will respect nofollow however, for your profile links.