Moved MapMaker-related code into map_maker.js.