Html5 graph js tool