HTML5 offline Time-tracking with sync feature