The two js code examples posted each print some data to the console. Your project must be running both of these. It looks like one is run during the steps of execution where the other is run after events are triggered. If you’re only looking for one, comment the other out.
About the .call() versus .send()
–> .call() is used when you do not modify data on-chain. viewable functions like getters.
–> .send() is used when there is some change to modify the on-chain data.
I also came across this problem doing mine. I hope that helps. Good Luck.