Update index.html

Change newTodo to be an object rather than a primitive, as this can cause two way binding issues due to JS passing primitives by value rather than reference