Remove dependency on jquery ui