load scripts in the footer