Made changes on all pages to add AJAX.