Minor HTML cleanups

Change-Id: I7278b7a5f5ae0e0ee3e8e9ccd0cf351eac046886
JS Bugfix: Keycode filtering now works under Mozilla-based browsers

Change-Id: I4a0d9f5e398addecf7d931d0297107ba1cbf22e9