Javascript Sum Property Of Objects To Maintain