Finally figured out that tolowercase needed to be toLowerCase. I changed the two instances of that and got the results of try searching for Javascript. So far so Good.