http://code.google.com/p/phantomjs/wiki/QuickStart#DOM_Manipulation