Add file comment; use plain "var" syntax to not confuse my IDE.
Sloppily migrate document-element-inserted observer into a JSM.

As suggested: http://bugzil.la/1048164#c27