Changed the index page AJAX call to see if it's working correctly