fix es6 modules: unsupported index.js