Revert "deal with chrome 38"

This reverts commit 18e49f4deb21e60cf6a7bff4a24c63f1142e21b9.
Revert "Revert "deal with chrome 38""

This reverts commit b239f5dc468d179c38dfa5b9cd2758a1987fc035.