remove all server-side code