split index.js