fixed up to depend solely on jqueryui