added index, js files