AMBARI-6963. When ganglia is not installed, we have js error on dashboard, also it makes unable to relogin after install (alexantonenko)