Adds template with js that changes text within an element with class
itemClass according to the background color.