event add

petites corrections
add event js