Somehow window.location.hash is being handled differently in different browsers. If I have a url as follows
http://maps-demo.bytecraft.com.my/postdemo/parcel
You could also do that :
var whatYouWant = window.location.hash.split('?')[0].substring(14);