Global timer for animations

AnimationRender.js - added global current tick timer. This is the first step to make this optimization work