compile app.js before install, for heroku