[ALOY-1124] whitespace in binding crashes app

Resolves https://jira.appcelerator.org/browse/ALOY-1124