fixes wikikpathways/pathvisiojs#147
fixes wikikpathways/pathvisiojs#142