JavaScript animation tool