added main.js to package as main file for main