Update functions.php

added ajax send mail function for contact template