Updated javascript client lib