Change up on ajax to use a better method to only retrieve needed data.