Separating the JS from the html file.