Added HTMLLinkElement, HTML Events + refactorization