Change footer and scripts order