fixed translation and js loading