removal of console.log as eventCostTotal tested and functional.