Added ability to send HTMLElement as target param