adding jquery to layout