Create storage using factory instead of direct html5 local storage constructor