fix OnNodeSelect JS event handler, make Multiple property of Core plugin work