Fix improper call to removeEventListener

eventProvider.js was using event handler function as single argument.

Fixes #1028, #1049, #1091, #1095