Add sample for getting key events in html.
Merge remote-tracking branch 'upstream/master'