GetPage.php and js function added for the AJAX call