Update maps_lib.js

Revert to template