Changed script tag insertion to use DOM creation instead of document.write. This makes it safe to call Backplane.init() after DOMContentLoaded. Before this commit, calling Backplane.init() after DOMLoad resulted in overwriting the target DOM with a new HTML document containing a single script block.
Changed script tag insertion to use DOM creation instead of document.write. This makes it safe to call Backplane.init() after DOMContentLoaded. Before this commit, calling Backplane.init() after DOMLoad resulted in overwriting the target DOM with a new HTML document containing a single script block.