JS layout hooks @for-each and @for-all