added javascript animation to front page