jscript: Use the standard isfinite() function.