**Please do not work on this issue unless you have applied to the outreachy project.**

The [pageviewer.js](https://github.com/mozilla/pdf.js/blob/master/examples/components/pageviewer.js) example currently uses the older style of `promise.then` and callbacks. Convert it to use an `async` function and `await` style.

/* Copyright 2014 Mozilla Foundation