Moving RangeModes to parse-token.js