Reorganize js
Check that that color exists. Allow hacking