math evaluator in javascript: part 1 (the tokenizer)