Update license in main.js

Said license was BSD-3 - changed to MIT