Fixed `response is not defined` issue in FF