Fix colour chooser

Would always break when I moved it out of the vagrant environment onto
the old webserver.