fix ripemd160 for browser and add tests