browser type detection
Merge pull request #980 from ShengxiangChen/ccBrowserBug

browser type detection