ajax req kind of working