The core of any AJAX application