replace eval with new Function, which speeds things up dramatically