 		@nodeType = type
 		@ownerDocument = ownerDocument
 		@childNodes = []
-		@attributes = {}
+		@attributes = { }
 		@listeners =
 			true: {}
 			false: {}

		else
			indent = ""
			newline = ""
		attrs = (" #{a}=\"#{@attributes[a]}\"" for a of @attributes).join('')
		len = @childNodes.length
		end = ""
		if len is 0
			end = "/"
		ret = [indent + "<#{name}#{attrs}#{end}>" + newline]
		r = 1
		if deep

			when Node.ELEMENT_NODE
				Element::toString.call @, pretty, deep, indentLevel
			when Node.ATTRIBUTE_NODE
				if @nodeValue isnt ""
					"#{indent}#{@nodeName}=\"#{@nodeValue}\""
			when Node.CDATA_SECTION_NODE
				"#{indent}<![CDATA[#{@nodeValue}]]>" + newline
			when Node.COMMENT_NODE
