Adding javascript files to the footer for better load times