CLOUD-91 js fix