adds frontend/publishJs and the grunt task to build app.js also moves backend stuff to the backend