A JS implementation of a tokenizer to split up source code based on tokens