This way these JS lines will execute right away. There are other ways of doing this as well, like adding an onload-handler or whatever. But you already have a script block at the end of your html in the page you linked to, so all you need to do is add these two lines of code to that.