Bug fix for private browsing mode

Bug fix for browsers that have localStorage, but don't have any space (this can be replicated by turning on private browsing on Safari Mobile).