AJAX call get requests working