ajax request only grabs necessary info