How to calculate voting power with hf20 in js.