Revert into "Update map.js"

This reverts commit d7b01055af3b5d4cc48a97ba150ff39ad4933e2a.