Update index.js

Same request bug fixed.