Well, not really sure how the JS contexts between proxy objects and event handlers work, but I'm always very careful to add custom methods to them.