Add index and js