javascript library to decode TWKB