Register and load the scripts on the footer