Why are JavaScript files read from an external URL? Drupal adds the following markup to pages.

&lt;html class="js" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:sioct="http://rdfs.org/sioc/types#" xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:og="http://ogp.me/ns#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:dc="http://purl.org/dc/terms/" xmlns:content="http://purl.org/rss/1.0/modules/content/" dir="rtl" version="XHTML+RDFa 1.0" xml:lang="fa" xmlns="http://www.w3.org/1999/xhtml"&gt;


I need to remove it and force my site not to read from an external URL. 

How can I achieve this? Is it really bad, or doesn't it need to be changed?
You're confusing the attributes on that tag.


class="js" is a class name, it has nothing to do with loading javascript from external sources. It's simply added to the tag by javascript when the page loads so that any process (css usually) that needs to know about it can easily tell whether javascript is enabled or not.
The xml:* attributes are required to identify the document as XHTML. They're not related to javascript in any way.


There's no need to change anything, unless you want to get a bit more up-to-date and install a theme that produces an HTML5 document.