Bind JavaScript events on onLoad() of widgets (issue #57)