A javascript color curve editor component