[graphspell][js] ibdawg: add select() function