rewrite static file server with coffeescript