animation using timer and transition
<script src='/mx_modules/modulex-debug.js'></script>
<script>
modulex.config('base', '/mx_modules');
modulex.use('anim', function(Anim){
new Anim(domNode,{
width: '100px'
},{
duration:0.5,
complete:function(){
alert('complete');
}
}).run();
});
</script>