jQuery/UI version hack from monarch