nitpick. Should this be an illegal access exeception ? - https://github.com/blackberry/cordova-js/blob/master/lib/cordova.js#L182