work on chrome and FF
Merge pull request #7 from tangyufly/master

work on chrome and FF