js: Add case for event sequence