fixed app.js controller for compiler