My attempt to work with cordova