add event functionality added via ajax