Animated box Javascript Source Code