Fixed Firefox security errors with sessionStorage and localStorage (#163)