Very dirty JavaScript due to my poor skills on Angular.js
Refactoring and avoiding dirty globals
Increasing idle time and pooling interval
Changes to make JSHint happy