Creating a dynamic to do list in JQuery which also saves to database