add js animation