use document.onClick instead of easly event listener