fix(location): correctly rewrite Html5 urls