[minor] Started on making the client compatible with Node.js