fixing jqueryUi example