Update source/maps_lib.js

loc type