Fire keypress events when typing in HtmlPageLoader.

Note: this only works correctly when compiled to JS.