Improved compatibility with "How Many Times Can I Back?" (#397)

"getCommonAncestor" method is not available without jQuery