Update index.js

Fixed Content-Type header