Update maps_lib.js

Correct errors