Update index.js

fixed bug -- getFormData