Ajax: Allow setTimeout to return 0 as a valid timeoutId