Handle href locations in non-push-state browsers

@hojberg @barnabyc