moved jquery into the footer