remove unused funcs in token-stream.js
skip crlf if need