frontend: replace bbq hash urls with html5 history api