split off app.js