AMBARI-5867. Add unit tests for views/*.js files (Max Shepel via alexantonenko)