fixxed cmUtil.detectOSAndBrowser for karma with firefox(other browser than phantomjs)