Localstorage score javascript