Fixed the browser making bogus requests to ./undefined.