fixed jsplumb error