Fix JS output for MapReduce.

We weren’t outputting the `out` parameter when the action was the default.