MongoDB-style document manipulation for objects within arrays, in JavaScript (including in the browser).