fixed localStorage issue (zero-quota) in cases such as iPad in private browsing mode