browser compatibility fix
Merge pull request #1 from Luge/master

browser compatibility fix