Jacek Caban : jscript: Added NaN handling to Math.min and Math.max.