jquery ui api change