Update map.js

Added restricted movement function