Your example appears to have a typo; line 16 should be:
s.event["change" s.value + 1]
That said, there seems to be a subtle problem with scoping for event dispatch; investigating.