The removeEventListener command is to be used in conjunction with the addEventListener command. This command will remove an event listener with a unique listenerId property registered by addEventListener .
See addEventListener for example.
