Update baggers.js

Fix js error