Handles jQuery with a longer timeout