Fix for localStorage (Fx23). Fixes #103