fix Object.keys for Firefox
Merge pull request #757 from yaniswang/master

The Object.keys of Firefox has bug