[graphspell][js][bug] fix wrong method