Update jshintrc
Drop obsolete TODOs
Trivial renames
Factor out addWeightedTransitions
Refactor addTokens
Refactor chain
Refactor choose
Move tokenRel declaration
2.1.1