Bug 1090727: support jquery in the global/header template, and update the header and footer to use jquery
r=glob,a=glob