Make use of requestAnimationFrame.
Removed option update_interval
Added option animation (Default: "smooth", valid values: "smooth", "ticks")