Fix navigator.userAgent and appVersion undefined
Fix navigator.userAgent and appVersion undefined

In rare cases, navigator.userAgent and navigator.appVersion are
undefined. Browser detect attempts to return 'unknown' when these are
not provided, but an error was thrown when these were undefined.

gameclosure/js.io,hashcube/js.io,hashcube/js.io,gameclosure/js.io