<!DOCTYPE html>
<html>
    <head>
        <script src="js/crafty.js"></script>
        <script src="js/game.js"></script>
        <script src="js/components.js"></script>
        <script src="js/scenes.js"></script>
        <script src="js/create_mocks_module.js"></script>
        <script src="js/tiledmapbuilder.js"></script>
        <script>
            window.log = function() {
                if (this.console) {
                    console.log(Array.prototype.slice.call(arguments));
                }
            };

            if (window.addEventListener) {
                window.addEventListener("load", Game.start, false);
            } else if (window.attachEvent) {
                window.attachEvent('onload', Game.start);
            }
        </script>
    </head>
    <body>
    </body>
</html>

<!DOCTYPE html>
<html>
    <head>
        <script src="js/crafty.js"></script>
        <script src="js/game.js"></script>
        <script src="js/components.js"></script>
        <script src="js/scenes.js"></script>
        <script src="js/create_mocks_module.js"></script>
        <script src="js/tiledmapbuilder.js"></script>
        <script>
            
            if (typeof console === "undefined") {
                console = {};
                if (typeof console.log === "undefined") {
                    console.log = function(){};
                }
            }

            if (window.addEventListener) {
                window.addEventListener("load", Game.start, false);
            } else if (window.attachEvent) {
                window.attachEvent('onload', Game.start);
            }
        </script>
    </head>
    <body>
    </body>
</html>

Add dummy console.log so it don't get all broke
Add dummy console.log so it don't get all broke
