Defined a layout so that jquery can work