Removed unused client-side code