parallel event by js