AMBARI-3828. JS error on Confirm Hosts page. (Mikhail Bayuk via yusaku)