Bootstrap generator should add code at the end of application.js if ther...

...e's no newline. Fixes #323.