This test allows us to determine if javascript is enabled in the browser, giving a user the option to go back to the previous page or return to the home page.