Fixed healthcheck js code. Ref T50588