Deploying refactored server-side code