and consolidate/optimize jsplumb js