minor changes for hiding not connected nodes in rq1.js