Fix models.js