Wrapped script in a closure to run on page load and then use setInterval to run the function locally instead of using AJAX to continuously reload the script.