Switched to pure JS xxhash impl for browser compatibility.