only one click handler in the js