Fix JQuery UI compat errors