Fixed Ajax

Not fully implemented across all data yet, only works on successful