Update maps_lib.js

Resets code to basic.