[graphspell][js] ibdawg: constructor with data object