How do I return the value from my function getAmount() to my node.js route "calculate"? Can I do a simple req.body or do I have to call the function in my node.js rout