adds jquery to layout