fix localstorage issues in Private Browsing of Safari. #5