Added js to event detail.