e');
    var foo = function() {}
    ws[events[i]] = foo;
    assert_equals(ws[events[i]], foo, events[i]);
    ws[events[i]] = null;
    assert_equals(ws[events[i]], null, events[i]);
  }, "Setting event handlers to null " + events[i]);
};
</script>
