Scratch pad for html app for native devices using cordova