Initialize fields as empty array

The fields variable in model.js is added to Model.prototype after
the Model() constructor function is defined.