moved scripts to footer