Eval is evil.

Also added version that can be used in nodejs