added removeTodo() function to main.html