Expose parse tokens in Javascript in tokens global var