[fx][bug] ibdawg: suggestion mechanism > fix calculation between words in JS