update for jquery 1.9.x and jquery-ui 1.10.x