API doc and small change in ClientGear.js