conversion to jqueryui