Most ovens typically heat from the top, the bottom, or a combination of those two directions.  For even cooking, place the baking trays in one of the middle racks of the oven to cook the cookies more evenly and prevent burnt bottoms or tops.