moves constants to app.js