Added event listener impl to HTMLDocument.
Added .gitignore