How the internet helped propel Barack Obama to the White House