added AJAX calls in js/support.js, modified index.php, added ajax.php and classes.inc