Merge pull request #4 from zkf9971/NODEJS-1750

Changes for https://jira.appcelerator.org/browse/NODEJS-1750