It's seems that your number is greater than 2^53, biggest integer number in javascript which can be represented without loosing precision (see this question).
If you really need to operate big numbers, you could use special libraries like this one: https://github.com/peterolson/BigInteger.js