Merge pull request #28 from ayanamist/firefox

少改了两处，还是Firefox兼容