clearInterval() workaround for some Android browsers

In older versions of Android's browser, clearInterval() doesn't always work. Here's a workaround.