disable localstorage if browser doesn't support it

we can add cookie support later