fix } issue in reqest.js