firefox localstorage bugfix