Update index.js

Handle multipart.js errors ( sorta )