added and tested browser shim for bignum