storage.js fix