Added initial animation to js file