Refactored comments in index.js