on pageshow changed to jQuery but not quite working on hashed URL