General comment: I assume you are using $dom_firstChild because it was a direct translation from the mdv scripts. Are there perf reasons to keep it this way, or is the plan to eventually migrate to use other dart:html apis?

I'm totally fine doing these changes later on, BTW