Tim, thanks for the input. I agree with you on part one and have
included a checks for NaN throughout the function, and that also takes
care of MI (point 2).
On point 3, DOM dependency, I agree and had previously removed the
dependency as well as added the JSON object output. It can either
provide output as an HTML table string, or as JSON.
Since it looks like you weren't using the latest code base, can you
try/verify that you are still receiving the error you found in point
4? I have added some additional "forgiveness" into the code.
-noah