Update map.js
Add Event for dockable element