moved jquery to top of file, for pages using it