I modify the localstorage.js to achieve more useful method to modify the value in the localstorage