Added external .js

Added external .js file to github and added java script code for comment to email .php