Force Directed Graphs with JavaScript