HTML5: Added timeout for AJAX queries