html encode token values
refactored brainfuck