It seems like GWD is trying to reformat the Dynamic Profile JS and will add in line breaks in odd places (ie. in the middle of a string variable).
Can't find a consistent cause for this, nor a solution, as fixing the code in Code view will only work until Design view tries to reformat the code again.
Uncaught SyntaxError: Invalid or unexpected token because of the unterminated string literal
As a result devDynamicContent never gets populated and then you'll get an
Uncaught ReferenceError: dynamicContent is not defined
I've gone ahead and emailed some screenshots of the before / after as well as a zip of the project folder so you can try to recreate.