document.querySelector('.sum').value = [].reduce.call(document.querySelectorAll('.numbers'), (a, b) => a + +b.value, 0);