Update TokenList.js

adding the filename argument
ReferenceError correction