Refactor js-side events to match the world events