to do list rails&javascript app