AMBARI-3477 JavaScript errors during service tab changing. (atkach)