change db to html5 storage