Update Modules/vis/visualisations/multigraph.js

move some code around