Add index and js file