Move scripts to footer