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