main.js added.