with cordova link to js