Moving jquery to the head. Fixes "jqury not defined" on login page.