add onclick event to html tag