more storage.js fixes