document.getElementById('sum_total').textContent = [].reduce.call( document.querySelectorAll('input.timer_input'), (res, node) => res + +(node.value || 0), 0 );