Fix placement of replacecheck initialization.
Merge branch 'master' into gh-pages
grunt