Sum Value In Array Javascript Append To Innerhtml And Outerhtml