I cannot get this to work on a different page other than the HTML page