[ALOY-676] make constants.js available at runtime

Ticket: [https://jira.appcelerator.org/browse/ALOY-676](https://jira.appcelerator.org/browse/ALOY-676)