Fix flaky testCustomBarsWithNegativeValuesInLogScale. DygraphLayout._calcYNormal(axis, NaN, logscale) initially returns NaN, but after it gets jitted it starts returning Infinity. Some of the downstream code doesn't handle this eventuality.
add comment explaining isFinite check