Replaced Cordova javascript reference