If this is going to stay in this JS file (and not be used in the head), then the code here can be moved into the function block below along with the rest of the code.