Update and rename index.js to text.js