Client-side xdi.js Javascript library