Fixed problems with undefined tab_animation in script for jQuery.