Seeking refuge from unsafe JavaScript

In late 2013, the vast majority of Plaid's code was JavaScript. Though the proportion has decreased since then, JavaScript still accounts for more than half our code. Early Plaid code was fairly typical imperative JavaScript. For example: module.exports = function(raw) { var o = {}; for (var i = 0; i < raw....