app.aniamation---> the javascript way