Refactoring HTML Files