change order of script in footer