index with correct js