[graphspell][js] rename vars