added index file and js dir