Using URL search instead of hash (fix cross-browser issues)