Use return in the non-handled key cases, and call preventDefault() in a single place, as suggested.

https://github.com/coolwanglu/pdf2htmlEX/issues/180
Simplify the implementation of ctrl-home, we don't need to care about pages in this case.

https://github.com/coolwanglu/pdf2htmlEX/issues/180