Fix the B2G viewer and enable bot preview.

If you want to test locally you can grab the folder https://github.com/mozilla/botio-files-pdfjs/tree/master/b2g_stubs , rename it to `shared` and put it in the root folder of your server.