Improve eval external script.

Use `new Function(script)` instead building string.