added api.use() for coffeescript and put the initial js in the client folder