Fixes iteration bug in commonAncestor

Arwid,

Really like this plugin, works great.  But initially it didn't work at all (current Chrome or Firefox).  Not user how this might have been working before or why the code was using the for/in syntax but that syntax isn't for iterating over arrays.  I replaced it with regular array iteration and it works like a charm.

--Ken