Prototype a HTML5 application to work offline with automatic syncronization when online