server to coffeescript