Fixing initial polling behavior

Fixes #1713

I checked the initial polling behavior again after seeing @brandonhilkert's comment and he's right in that the polling did indeed not start right away. 

I found and fixed the bug: an extra `clearInterval()` on document load which prevented the polling from starting. It should be working as expected now.