Removing second call to after_ajax

Removing the second after_ajax call so that it does not get called twice.