<body>
<button id="foo">Button</button>
<script src="events_bundle.js"></script>
<script>
"use strict";
var button = document.getElementById("foo");
button.addEventListener("click", window.init);
</script>
</body>
