Refactored website code for readability.