U.S. stocks seesawed Wednesday amid a widely-anticipated Republican victory and the Federal Reserve's announcement of a second round of economy-boosting asset purchases, but managed to end the session with modest gains, pushing the Dow and Nasdaq to their highest levels in over two years.