Loads of changes

Added mail.php to function
added couple JS files to try and solve animation problem
modofied index.html as thereare even HTML errors, didn't chek eveyrhting