fix typo in getToken js dox