Move jQuery to somewhere it actually works