update : event js code visibility