Added simple AJAX call functionality