You don't need this section.

`var latitude = req.body.latitude` will be sufficient. Or you could do `var latitude = req.body.latitude || null` if you really want to make the default `null`.