move jquery to layout