clean up storage.js