Adjusting to non-html5 urls