try Locstor.js