added Spectrum.js, updated editor template