Fire keypress events when typing in HtmlPageLoader.

Note: this only works correctly when compiled to JS.
Might be worth it to just move _fireKeyPressEvents inline here, considering it's just 3 lines.