[core][js] tokenizer: yield separator one by one