small test for js animations on html canvas