Update spectrum.js

calling window.localStorage will throw an exception if cookies are disabled.
* security dom exception 18 (Firefox)
* An attempt was made to break through the security policy of the user agent. (Chrome)
* access denied (IE)