Changes to mdarray.js and mdcontentlist.js to permit multiple instances on same page