updated for jquery-ui-rails gem