Fixed bug on jpgraph dependencies