An explanation on fixing issues in express where the JSON req.body is undefined.
An alternative to eval() for inserting variables at runtime in Javascript.