Update index.js

defaulted schemaless