[ALOY-659] handle platform-specific JS controllers properly, no repeats

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