JavaScript tokenization library