javascript: remove redundant eval on ops