Working around lack on localstorage on some browsers in private mode.