Refractoring 2.0

I replaced all animate functions (beside animateBorder() and
animateFloat()) with a universal animate() function. It now acts in
places to unroll and roll up Npc Initiative field, Rand button, and
character parentDiv.
Results: almost four times less lines (from 89 to 21)
Next in refractoring:
reorganize scene management functions (cookie-operation-oriented instead
of function-oriented.)