Adds try-catch to lib/plugins/CasperPlugin.js for instances when running in normal browser (not Casper).