clean up and set up client.coffee