add browser adaption
Merge pull request #8 from forrest-mao/patch-1

add browser adaption