added main.js for extension