Fix activation error

* Fixed bug in color palette; when activating a new site, the color
palette messed up the activation (JS error)