You have to build the project using node make generic
according to the build instructions on https://github.com/mozilla/pdf.js
After having placed the built files on a web server you can add the file query string to the url, e.g. http://server/pdf.js/web/viewer.html?file=http://server/some.pdf
.