Update map.js

Added info display code