arbitrary size integer library in pure javascript