main frame
new index.js file