Update bbGrid.js

Make 'bbGrid' optionally an AMD.