Declaratively construct complex arrays in javascript.