Fix bug#3780: Allow aborting ajax request if user clicks on new link in ...

...time

Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>

For testing on fast server, may need to add sleep in the relevant php script...