updated meta.js impl (full schema and initial loading)