Javascript bitwise operations library