[js-client] Added license notice to client.js