added index and .js file