Remove hardcoded offset param in JS API doc generator and docs