Fixed a number of small JavaScript bugs that interfered with a meeting editor "dirty flag."