update js

move bubble.js to main.js