return listener in addEventListener

this change is fully backwards-compatible. we used it to automatically replace function with the call to addEventListener, but people might simply use it for chain calls / shorter code.