Voyeur is a tiny (1.2kb) Javascript library that lets you traverse and manipulate the DOM the way it should have been.
traverseDOM
http://adriancooney.github.io/voyeur.js/