Fix the functionality of hash property in the URL

Here is a big change in map.js file, It resolved the issues #59, #60,
#61 and #62