This is the jquery ajax function I made for a class project