REFACTORING: Applying jQuery best practices to the text page.