added util.js , global class can be called e.g. Util.getColorArray(nrOfColors)