Use undefined, not null, as the default this value when invoking callbacks, to align with the ES6 specification.

See also https://www.w3.org/Bugs/Public/show_bug.cgi?id=24248