function ran (from, to) {
var r = from - 0.5 + Math.random() * (to - from + 1)
r = Math.round(r);
return r;
}
var random = ran(5, 10) ;
for (let i = 0; i < data.length; i++) {
$('.server-menu').append('<div class="server" id="' + random + '"</div>');
}