added index and linked up js