Shaping the box used to add new messages (css, javascript animation, index.php)
Replacing the form by an ajax function
Adding the file server.php which add the message in the database,
Adding the file ajax.js containing the js function of ajax,
Some modification in index.php
Idel for main.js