Update web-storage.js