Added basic animations support.

* New: Added utils.js to avoid cluttering the code.
* New: Added anim.js for easier animation handling.
* New: Added character animations rudimentary support.