adding scripts to footer