MathJS-Port from mathjs.Org.
thanks for report. currently i don't have enough time to fix it, but i think its a small fix..