Move jQuery call to the top of the head element