Following my javascript code below:
function ready() { var items = document.querySelectorAll(\'.item\') var data = []; for (var i = 0; i < items.leng