remove old client side code