Object detections are not extensively tested, but everything came from
the "Firefox for developers" series of documents from
developer.mozilla.org; thanks to Artur Szymczak for prompting this
update.
[Fixes#6860]
Makes it easier to grab results from within a module without having to
run the detection again. I thought I had committed something like this
before, I wonder what other code I've lost...
Allows editors to easily highlight correctly which makes editing a
little nicer. Also makes it easier to debug because line numbers are
only off by the length of the custom_js argument.