javascript animations blog post