compatible with jquery-ui-rails gem