fixes for blackberry OS
Merge branch 'master' of github.com:jbinary/jslix