I have a piece of JavaScript I want to run every 100 ms for 10 seconds when a user clicks an element on the page. 

I have it working to an extent but if a users click on the element a second time it no long runs.

Any help would really be appreciated.

**CODE**

```
jQuery('.pager .pages li, .pager .pages li a').click(function(){
    var safariClearFixTimer = setInterval(safariClearFix ,100);
    setTimeout(function( ) { clearInterval( safariClearFixTimer ); }, 10000);
    function safariClearFix(){
        jQuery('.itemgrid-3cols .item').css('cssText', 'clear: none !important;'); 
        console.log('COUNT');
    }
}); 

```