Client side script now calling REST API asychronously, and adding returned data as anchor tags in result div. Clicking also calls alert with node's id and name.