HTML5 force directed graph