adds js and second animation panel