Don't barf when there are uncaught JS exceptions on the page

These exceptions were making their way into the stdout from the
phantomjs process that loads the page, which then caused JSON.parse() to
blow up when trying to parse the report. Now we just silence these
exceptions.