Added code to activate color selection in javascript.