eval hack for behaving like selenium ide on NaN, infinity and undefined