continued update to only handle one pathway per instance of pathvisio.js