established DDL models into js