Fix pretty printing of query results: "xml" namespace should not be declared
Allow .html and .js to be evaluated (by copying content to results iframe). This used to result in an error message, which may confuse users.