updated to new chroma.js api