d('i').aclass('ti-spin').rclass('ti-spin', 800);

			interval && clearInterval(interval);
			interval = setInterval(exports.getOnline, 4000);
			exports.getOnline();

			setTimeout(function() {
				exports.tapi('dashboard_stats', function(response) {
					var keys = Object.keys(response);
					var years = {};

					for (var i = 0, length = keys.length; i < length; i++) {
						var item = response[keys[i]];
						if (keys[i] !== 'visitors')
							years[item.year] = true;
					}

					years = Object.keys(yea