JS: sortable nodes behaviour improvement - corrected items for sorting (on right level), fixes #42