Fix for jquery ui 5