')); if (is_empty) { document.getElementById('hits').innerHTML = 'No result found.'; } else { document.getElementById('hits').innerHTML = $hits.join(''); } } });})