fix more issues that occur when bots request .js, .xml or .json when it should not be possible