Added client2.js example.