Make sure replacement word doesn't move centered text
Merge pull request #2 from danheberden/gh-pages-word-replace

Make sure replacement word doesn't move centered text
Move conditions to new file and remove excess stuff