fixes based on reviewer feedback
Merge branch 'master' of github.com:founddrama/phantomjs-cookbook