[ALOY-866] only recompile app.js when necessary

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