jQuery Color index creation