move classList.js to index.js