Force JS models to wait for the schema to load

Potentially start to fix the JS add issue.