Index out of bounds error when isChrome is false

When isChrome is false (Safari, IE, etc) a call to navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./) may return an empty array which is subsequently indexed resulting in an exception.