The Power of Separation: Refactoring a Front-End Demo