storage.js fixed