A simple javascript graph library