Bug 1053703 - Merge pre-app.js, app.js and post-app.js to one javascript file r=gduan

https://bugzilla.mozilla.org/show_bug.cgi?id=1053703#c21