injected constants into app.js to fix routing