Objects.js Sample: Create Object Definition
Open the "JavaScript" and "Console" panels for details.