Update map-module.js

Updated to work with Orbeon form engine.