fixed js-formatting for bubbles, made the animation more better