Removed duplication in eval.js