html5 / localstorage applet