How to trigger js function from click event

Thanks for trying to help! At least once I understand how bokehjs CustomJS works, I can come back and implement your example.