fix localstorage issues in Private Browsing of Safari. close #5