
			var historyContainer = $('.neos-history');
			$('.loadMore button').click(function() {

				$.ajax({
					url: nextPage,
					type: 'GET'
				}).done(function(data) {

					nextPage = jQuery(data).find('div.loadMore').data('neos-history-nextpage');
					if (typeof nextPage === 'undefined') {
						$('.loadMore').hide();
					}

					var days = $(data).find('.neos-history-day');
					days.each(function(index, day) {
						var date = $(day).data('date');
						var $existingDay = $('[data-date="' + date + 