Update index.js to bitstarter format