Add index and js dir