window.location.search doesn't work for /#!/ routes

Most pushState libraries use `/#!/` for older browsers and `window.location.search` won't pick up the query string if its after the `/#!/`.

Thx for the PR though ;)