added check if this.version exists, fixes WhichBrowser/WhichBrowser#17

Dear @NielsLeenheer ,

please review this commit, it helped me to avoid the issue #17 I was experiencing with Linux Mint (clients) requesting browser detection.

Cheerz,
Samo.