Chmod main.js as executable