<script type="text/javascript"> replaced by <script>
And getAnimationPlayers() test added