[graphspell][js] dawg: select() function