simple event by js