bugfix on add/remove function on form/section edit js