As it is not defined in browser, polyfill it there.
@@ -11,6 +11,7 @@
<div id="includes">
<script type='text/javascript'>
+ var global = typeof global === "undefined" ? window : global || window;
var base = decodeURIComponent(window.location.hash.slice(1)).replace(/\/$/, "");
var script = document.createElement("script");
script.src = base + "/config.js";