$('.testButton').on('click', function() {
$('html').addClass('test-class');
});