var hits = document.getElementById('hits'); if(hits){ hits.innerHTML = '7763'; }