improved error message for undefined variable in js eval statement, more clean fix.