Replaced eval with new Function().