fixed an problem about function revise to make it useful in ie
Merge pull request #1 from gyx1986/patch-1

fixed an problem about function revise to make it useful in ie