Handle 'no storage available' for inline css

Basically wrapping `localStorage` usage in try/catches
The issue is not that the function doesn't exist, it's that calling it when the storage is full throws a runtime exception. Hence why the try/catch is needed.