bubbles.js modification