We want to include a maps from Google Maps API in our document. The documentation tells to initialize the map with a function called by the onload() event of the body.
You should really use the following instead (works in all newer browsers):
window.addEventListener('DOMContentLoaded', init, false);