jscript: Fix toExponential behavior when exponent is 0.