Edit model.js for locally used