rename text.js to main.js