Evaluator done. Refactored javascript.