index.js prints from index.html