fixed js file with ajax command for dictionary API