edited AJAX call in hospital.html and hospital.js