fixed bug: svg_chord not defined when on force graph

svg_chord is now a global variable so we can check it before sending
time elapse data to chord functions