Fix js loading