removed outer function wrapper from ActiveCampaign.js file; also got credentials_test working properly