Transform onclik in EventListener on click