Fixed `localStorage` exception causing the entire widget to not appear.

I have fixed my own bug(Issue #24), I have simply added a try-catch block around the entire `store` function.