sequence js