JSX implementation of xxhash