http://phantomjs.org/page-automation.htmlhtml
install brewgit
curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1github