Defined urlWhole in map.js not search.js

Fixed #216