fix mailer and get jsapi.js local to fix graphs