Added JSCS and fixed some issues in app.js