complete ajax rails todo app