Fix building of app.js