load scripts at the footer