Create properly formatted URL's in the non-JS version.