Fixes regression that cause scrolling using spacebar to break in Firefox

After PR #3447 was merged, scrolling using the `spacebar` no longer works as is it should in Firefox. (Note that all the other navigation keys still works as intended). To see the issue:
1. Open http://mozilla.github.io/pdf.js/web/viewer.html in Firefox.
2. Click anywhere in the `viewerContainer`.
3. Now, try to scroll the document by pressing the `spacebar`.

Expected result: The document should scroll down.
Actual result: nothing happens.

It appears that in Firefox you cannot use the spacebar to scroll when a `<div>` is the currently active element, but it works fine if the `<body>` is active. In my testing, this issue is specific to Firefox, since it works as expected in both IE or Chrome.

I've solved this issue by adding code in preprocessor tags, so that scrolling using the spacebar is restored in the Firefox addon and the Mozcentral version. Unfortunately, this solution means that scrolling using the spacebar is still broken in the web viewer whilst using Firefox. Since I'm not sure how to fix this without reintroducing the issue that #3447 fixed, I'm hoping that this will be an acceptable solution.