added AJAX Level 2 support