Add color for js function