Remove code that is duplicated from jquery-rails.