[ALOY-876] make sure cached app.js exists

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