Add map bounds.

Fix extract js in map.js.