Add Support for Mounting Script When Body Doesn't Exist.
Previously, the localEntryPoint
was injected just before the closing </body>
tag. This was usually fine, sometimes, people may work with a page that doesn't have HTML from a full page. This change makes it so that when the </body>
tag doesn't exist, the script tag will be injected after any of the HTML that is found.