Adding basic data model generation in javascript from actual dvorm data models