move jquery to head so that it is there when needed