Trying to convert this innocuous, default for each block into JavaScript results in the error
TypeError: null is not an object (evaluating \'bloc