fix plural translations in javascript