Replacing Ajax polling with Ajax Long-Polling to increase performance