A standalone class to ease ajax requests without the need of external library.