Add basic AJAX functionality on Submit