var element = document.querySelectorAll('.separ'), i = element.length; while(i--) element[i].innerHTML = thousandSeparator(element[i].innerHTML);