Coding style change in index.js