add license comment to main.js