AMBARI-3868: Add host fails after configuring NN HA with JavaScript error. (jaimin)