moved jquery to footer