JavaScript event binding module.