Javascript implementation of the Paillier additive homomorphic cryptosystem