improved jquery ui support