include node IDs and relation members into JavaScript area objects (fixed)