Add jquery and reorganise jade layouts