Schema edit: fix toggle button for advanced/regular mode

If advanced mode is activated, the new properties added must have
the Description textarea expanded.
Nodes edit: fix js global variable
Nodes edit: fix indentation
Nodes edit: remove/add some comments
Nodes edit: update jQuery deprecated function 'live'

The function 'live' is deprecated in the current jQuery version
and has been removed in jQuery 1.9.
Nodes edit: expand properties box in case of form errors