RJS page.select call chaining

Instead of doing the whole thing in raw Javascript, you could do:

page.select('#content div.address_box').each do |elem|   page << "Element.removeClassName(value, 'foreign_outline')"   page << "Element.removeClassName(value, 'good_outline')"   etc end