Updated Javascript tests to check for various HTML elements upon loading different pages.