Terrible ajax editing, but it's a beginning.