Fix setting properties on null object (#61)
Fix setting properties on null object (#61)

* Fix setting properties on null object

* Simplify a null/undefined check

ctd1500/videojs-hotkeys,ctd1500/videojs-hotkeys