A simple JS function that returns items in an array as favorite things.