disable WriteResponse in js builds