We don't have access to underscore in our plv8 layer. We've talked about putting it in there, but you can do a lot with the native js map and filter functions.