BB10: Fix jshint warnings in src/blackberry10/index.js.