Improves color_assigner.js