fix layout + jquery dependency