added click handler prototype to html entities