wait for 2 seconds instead of 1 second for ajax request to complete