Working ordering

Fixed the application to use jquery to call server.php.
Sever.php saving correctly.