Tweaked version of https://bitbucket.org/mailchimp/mandrill-api-js to reduce size and only include basic send functionality