:revolving_hearts: traversing the document object model

I worried that getting the selection indices out of the DOM would turn
out to be an ugly mess, but it turns out there's this super-graceful
computer-scientific solution! Thanks to a StackOverflow answer
referencing Douglas Crockford (http://stackoverflow.com/a/18423333)
for the spoiler.

[#27]