Refactor 'correct_htmls.sh'