Heat 2 tablespoons of the olive oil in a large skillet over medium low heat. Add onions, garlic and 1 teaspoon of the salt. Cook, stirring occasionally, for 5 minutes, until completely softened and cooked but not browned. Stir in the basil and thyme. Spread on the bottom of the prepared baking dish.