added affero gpl v3 license
fixed main.js indentation