routing with cordova fail