        $('.js-button').click(function() {        if ($('div.active').next().hasClass('hidemsg')) {          $('div.active').next('div').addClass('active').end().removeClass('active');        }else{          alert('Sorry, there is no next entry');        }      });  