revised documentation. added demo in index.html and added mixin based implementation.
...