todo list using rails and ajax