Fix invalid updateState property on RFB preventing noVNC to load

It was changed to `onUpdateState` in b1dee9478815b22bf5fee3ee9e44321d4bb46c91.

Add guard in Util.set_defaults to prevent 'Uncaught TypeError: Cannot
read property 'call' of undefined' error.