added more cordova stuff
commented not used code out