AMBARI-5808 Unit test and refactoring for controllers/main/service/info/config.js part 3. (ababiichuk)