changing cbugg.js to match