dynamic compound fields in newmedia.js