added common.js and completed contact.php