Remove dependency on jqueryui