Allow pastel colours to be randomly generated instead.

Also the coding standards in phpstorm had a field day with the selector re-use in jquery.
TODO: rewrite JS