fix javascript syntax for action bubbling example

There is a missing closing bracket `}` in the javascript example for action bubbling.