Setting base href for non-html5 browsers