Allow to map html events (onclick, onchange...) on a custom context object (instead of window)