Added more colours and moved the javascript to its own file