Handle 'no storage available' for inline css

Basically wrapping `localStorage` usage in try/catches
Maybe avoid try/catch, and do something like:
```var c = typeof localStorage.getItem === 'function' ? localStorage.getItem('the key etc') : null;```