Fix error with jquery ui