I am making a webpage that uses forms to submit user votes to a mongo database using node. While the code below sucessfully modifies the db, it causes a pending status operation in chrome dev-tools. This prevents all js from running, and after a few minutes the browser redirects to (the non-existant) /v/foo. This problem also occurs when using 'post' rather than 'get' as the method.I am making a webpage that uses forms to submit