Made unnamed constructor type JsExpression

I changed the type of the unnamed constructor. When using jaydata the following code:
var class = $data.Entity.extend("Todo", {
    Id: { type: "int", key: true, computed: true },
    Task: { type: String, required: true, maxLength: 200 },
    DueDate: { type: Date },
    Completed: { type: Boolean }
});

var object = new class;

should create a new object. I couldn't get that working with current code.