Update localstorage.js

More rejection