Used more explict form of AJAX request to for more control over events.