Improved AJAX name data protect