Add AJAX functionality to mobile