Voyeur is a tiny (1.2kb) Javascript library that lets you transverse and manipulate the DOM the way it should have been.