var elements = document.getElementsByClassName(names);