adding basic js and mailer class.