add chrome compatibility
Merge pull request #1 from Rebolon/feature/chromeCompat

add chrome compatibility