added support for jquery-ui