Working CRUD with morrisjs