LPS-38284 Revert bca050ac
LPS-38286 Better fix: do not call event handlers directly
LPS-38286 - SF: General JS Lint fixes