Fix jquery load in layout