adds global array for json data, add form pushes to this array
adds global to-dos to the DOM
strips whitespaces from categories
fixes bug where img click was beingcalled multiple times upon clicking remove icon
implements removal globally
removes debugging