update to support safari
Merge pull request #45 from zhongxiali/master

update to support safari