sample restify code