Model editor for JavaScript