
class Location:
    def getHash(self):
        return unescape(self.location.hash)
    
    def getSearch(self):
        return unescape(self.location.search)


class Location:
    def getHash(self):
        return JS('unescape(self.location.hash)')

    def getSearch(self):
        return JS('unescape(self.location.search)')

fix ie location implementation