separated index.html and index.js