fix app-model.js in example.