fixed an issue with localstorage for ios7 safari private browsing