Catching EvalError to work with strict CSP.