Connecting the AJAX Plus one call to the front end of the page