   ;; This function works by generating a temporary file that contains
   ;; the function we'd like to insert. We then use the elisp-js bridge
   ;; to command mozilla to load this file by inserting a script tag
-  ;; into head. This way, debuggers and such will have a way to find
-  ;; the source of the just-inserted function.
+  ;; into the document we set. This way, debuggers and such will have
+  ;; a way to find the source of the just-inserted function.
   ;;
   ;; We delete the temporary file if there's an error, but otherwise
   ;; we add an unload event listener on the Mozilla side to delete the

        ((symbolp x) (format "{objid:%S}" (symbol-name x)))
        ((espresso--js-handle-p x)

         ;; Check that the handle hasn't expired
         (unless (eq (espresso--js-handle-process x)
                     (inferior-moz-process))
           (error "Stale JS handle"))

         (format "{objid:%s}" (espresso--js-handle-id x)))

    },

    _parsePropDescriptor: function _parsePropDescriptor(parts) {
      if(typeof parts === 'string') {
        parts = [ parts ];
      }

      var obj = parts[0];
      var start = 1;

