changed .html() method in index.js to .text()