Make the mail.js into a biding function and add some css to response message