More model.js updates.