fix geometry bug with Prototype 1.7
pimp String::node method
rename indexOf to indexOfMatch

collided heavily with event (un)watching
propagating Prototype global vars
fixed indentation