Javascriptify the first half
Update 1, basic colors working