spectrum.js patching