a method that know whether we have js-translations
delete old translations before downloading new ones
handle js-translations