palette_definition.js.coffee fix