* Fixes problem with IE8 throwing exception in commonAncestor.
Merge pull request #7 from clinisbut/fix-ie8

* Fixes problem with IE8 throwing exception in commonAncestor.