Get ugly on urls to cut out hashbangs as well as queries

- `url.split("?")[0].split("#")[0];` is fugly but it works