fix typo in graphs.js