Changed javascript to allow editing w/o ajax updates