I am trying to return an HTML page from a js file. I cannot seem to get the js in the script tags of the HTML to work as it is saying that it cannot identify the methods and