fix for supporting cordova 2.3 js files
fixed failing tests for blackberry.app on BB10