Build custom app.js into a proper war file