changed main.js header for globals

introduced async in mailchimp as last user update call failed sometimes