add event base js

add event base js