Make it clearer that you can use arbitrary JavaScript in each

[closes #1495]