Ensure JS is concated safely.

Using app.import to include javascript files can fail depending on how
the two files end/start. Pretender 0.0.6 had this issue (has been fixed
in 0.0.7).
Merge pull request #988 from rjackson/concat-safely

Ensure JS is concated safely.