Moved scripts to the footer