Same code as geo3, but uses RequireJS for dependency inclusion: this minimizes the amount of JavaScript code embedded in the HTML.