Adding progressive enhancement through AJAX