This PR contains some overall improvements to main.js. Highlights:
- Less iteration, where possible
- More performant iteration by replacing
NodeList.forEachwith afor...loop - Fewer nested levels of function calls
This PR contains some overall improvements to main.js. Highlights:
NodeList.forEach with a for... loop