Replace new Function() with regular function
Replace new Function() with regular function

Using `eval` or `new Function` violates Content Security Policy (CSP).

PR-URL: https://github.com/jstat/jstat/pull/236
Reviewed-by: Trevor Norris <9cb5491eb5770dd8e0bf77a8a0335abf5f0488c5@gmail.com>

jstat/jstat,jstat/jstat