Add a comment about the return value in ErrorEvent.js