For that reason, I have implemented a library to fix throttling on timers which is a setInterval and clearInterval implementation with using Web-Workers to keep up and running on inactive tabs for Chrome, Firefox and IE
Check it out https://www.npmjs.com/package/worker-interval