Update jsgraph3.php

bug fix in temp graph