Documented gb.js

Fixed some stuff with the documentation in class.js and delegate.js