Export Mailer globally
Remove jQuery from the optimized build