remove models.js fix published checkbox
removed old code