Add AJAX to apply feature.