Rails App - Task List - CRUD using ajax