fixing mailer js reference test