linting models.js