Clocking in/out time tracker Cordova application