moved constants.js to app/ and included it in app.js