js file that includes error checking scripts