formatting storage.js