TIMOB-12488 Allow for JS files to be in examples of modules.

Test is in [JIRA](https://jira.appcelerator.org/browse/TIMOB-12488)