A minimal implementation of the Document Object Model